package jweslley.ContestVolumes.VolumeCXI;

import java.util.Scanner;

import jweslley.Problem;
import jweslley.Problem.Status;

/**
 * http://icpcres.ecs.baylor.edu/onlinejudge/external/111/11172.html
 *
 * @author  Jonhnny Weslley
 * @version 1.00, 15/10/2008
 */
@Problem(Status.Accepted)
public class RelationalOperators {

	public static void main(String[] args) {
		StringBuilder out = new StringBuilder();
		Scanner in = new Scanner(System.in);
		int t = in.nextInt();
		for (int i = 0; i < t; i++) {
			int a = in.nextInt();
			int b = in.nextInt();
			out
			.append((a < b) ? '<' : (a > b) ? '>' : '=')
			.append('\n');
		}
		System.out.print(out);
	}

}
